package com.cskaoyan.config.shiroConfig;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @author 曾添乐啦
 * @since 2022/12/31 15:17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyUsernamePasswordToken extends UsernamePasswordToken {
    String type;

    public MyUsernamePasswordToken(String username, String password, String type) {
        super(username, password);
        this.type = type;
    }
}
